package com.ruoyi.project.stat.paeaReportBusiness.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.project.stat.paeaReportBusiness.domain.PaeaReportBusiness;
import com.ruoyi.project.stat.paeaReportBusiness.domain.StatisticsReportBusiness;
import org.springframework.ui.ModelMap;

import java.sql.Date;
import java.util.List;

/**
 * 差错处理统计Service接口
 *
 * @author gang.wei
 * @date 2020-04-14
 */
public interface IPaeaReportBusinessService extends IService<PaeaReportBusiness>
{
    /**
     * 查询差错处理统计
     *
     * @param id 差错处理统计ID
     * @return 差错处理统计
     */
    public PaeaReportBusiness selectPaeaReportBusinessById(String id);

    /**
     * 查询差错处理统计列表
     *
     * @param paeaReportBusiness 差错处理统计
     * @return 差错处理统计集合
     */
    public List<PaeaReportBusiness> selectPaeaReportBusinessList(PaeaReportBusiness paeaReportBusiness);

    /**
     * 新增差错处理统计
     *
     * @param paeaReportBusiness 差错处理统计
     * @return 结果
     */
    public int insertPaeaReportBusiness(PaeaReportBusiness paeaReportBusiness);

    /**
     * 修改差错处理统计
     *
     * @param paeaReportBusiness 差错处理统计
     * @return 结果
     */
    public int updatePaeaReportBusiness(PaeaReportBusiness paeaReportBusiness);

    /**
     * 批量删除差错处理统计
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deletePaeaReportBusinessByIds(String ids);

    /**
     * 删除差错处理统计信息
     *
     * @param id 差错处理统计ID
     * @return 结果
     */
    public int deletePaeaReportBusinessById(String id);
    //初始化机构
    public void init(ModelMap mmap);
    //工作量统计
    public List<StatisticsReportBusiness> queryBusiness(Date beginOperateDate, Date endOperateDate, String orgCode, int statType, String userRoles);
}
